package cn.tedu.bece.front.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class BabySaveParam {
    @ApiModelProperty(value = "宝宝头像")
    private String avatar;
    @ApiModelProperty(value = "宝宝昵称")
    private String nickname;
    @ApiModelProperty(value = "宝宝性别")
    private String gender;
    @ApiModelProperty(value = "出生日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date birthday;
}
